package com.example;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@Slf4j
@SpringBootApplication
@MapperScan("com.example.mapper")
//springboot 启动类扫描不到自定义的拦截器。所以要用componentScan注解来帮助其寻找自定义拦截器
//@ComponentScan("com.example.config")
public class StudentManagementSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(StudentManagementSystemApplication.class, args);
        log.info("http://localhost:10086");
    }

}
